package com.questions.helper.util;

import android.content.ContentResolver;
import android.content.Context;
import android.net.Uri;
import android.os.FileUtils;
import android.webkit.MimeTypeMap;

import org.apache.poi.ss.usermodel.Cell;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Objects;

public class Utils {
    public static String formText(CharSequence charSequence ){
        if(charSequence==null){
            return "";
        }

        String s = charSequence.toString();
        if(MixedParenthesesRemover.startsWithParentheses(s)){
            s = MixedParenthesesRemover.removeStartingParentheses(s);
        }
        return s.replaceAll("[^a-zA-Z0-9\\u4e00-\\u9fa5]","");
    }
    public static final String[] ass = new String[]{"A","B","C","D","E","F","G","H"};
}
